package cn.edu.scau.cmi.guihao.domin.simpleFactory;

import cn.edu.scau.cmi.guihao.interProgramming.simpleFactory.InsuranceClaims;

public class Casualties extends InsuranceClaims{
	public Casualties(String name){
		this.name = name;
	}
	@Override
	public String compensate() {	
		return "pay "+name+" money becauses of casualties.";
	}
}
